import api from './index'
import { axios } from '@/utils/request'

/* storeApproval 生成出货单 */
export function pustGenerateShipmentGoodsBill(parameter) {
  return axios({
    url: api.GenerateShipmentGoodsBill,
    method: 'post',
    data: parameter
  })
}
/* ReplenishGoodsBill 补货单审核 */
export function putReplenishGoodsBill(parameter) {
  return axios({
    url: api.ReplenishGoodsBill,
    method: 'put',
    data: parameter
  })
}

/* ReplenishGoodsBill 出货单审核 */
export function putShipmentGoodsBill(parameter) {
  return axios({
    url: api.ShipmentGoodsBill,
    method: 'post',
    data: parameter
  })
}